<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初始vue.html</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.2/vue.js"></script>
</head>
<body>
    <!-- 视图层V -->
    <div id="app">
        <!-- 视图层中读取 模型的数据 -->
        {{name}}
        <hr>
        {{1+ 1}}
        <hr>
        {{name.toUpperCase()}}
    </div>

    <script>
         console.log(Vue);
        // vm  view-model  vue  --- model
        const vm =  new Vue({
            el:"#app",  //节点的绑定

            // model
            data:{
                name:"hello vue！"
            }

        })


        // vm.$mount("#app")

        console.dir(vm);
    </script>
    
</body>
</html>